<table class="table table-striped table-bordered table-hover " id="datatable_ajax"
       xmlns:spring="http://www.w3.org/1999/XSL/Transform" xmlns:fmt="http://jboss.org/xml/ns/javax/validation/mapping">
    <thead>
    <tr class="heading">
        #foreach($!{item} in $!{fields})
            <th>$!{item.actualColumnName}</th>
        #end
        <th>operation</th>
    </tr>


    </thead>
    <tbody>
        <% _.each(page.get('content'), function(data) { %>
            <tr>
                #foreach($!{item} in $!{fields})
                    <td><%= data.$!{item.javaProperty} %></td>
                #end

                <td ><a  href="javascript:;" class="btn default btn-xs black btn_update"
                ><i class="fa fa-edit"></i>编辑</a>
                    <a href="javascript:;" class="btn default btn-xs black btn_delete"
                    ><i class="fa fa-trash-o"></i><fmt:message key="delete"/><spring:message code="delete"/></a></td>
            </tr>
        <% }); %>
    </tbody>
</table>